
import '@/styles/common.scss'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import {lazyPlugin} from '@/directives'//引用图片懒加载插件
import App from './App.vue'
import router from './router'
import { componentPlugin } from './components/index'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


const app = createApp(App)



app.use(createPinia().use(piniaPluginPersistedstate))

app.use(router)
app.use(lazyPlugin)  //注册懒加载
app.use(componentPlugin)

app.mount('#app')


